<!doctype html>
<html lang="zh-CH">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    {{--<meta name="viewport" content="width=device-width, initial-scale=1">--}}
    <title>央票通</title>
    <link rel="stylesheet" href="./resource/css/index.css">
    <link rel="stylesheet" href="./resource/css/user.css">
</head>
<body>
<!-- 头部 -->
@include('common.index_head')
        <!-- 个人中心 -->
<div class="cont-user">
    <!-- 个人中心头部 -->
    @include('common.user_head')
    <div class="user-center">
        <div class="main">
            <!-- 个人中心列表 -->
            @include('common.user_left')
            <div class="user-container left">
                <div class="user-title user-password user-flow">
                    <div class="title">
                        <div class="h left">资金流水</div>
                    </div>
                    <div class="user-box">
                        <ul class="pass-ul">
                            <li ><a href="/user_account_details">账户明细</a></li>
                            <li class="active"><a href="/user_recharge_record">充值记录</a></li>
                            <li><a href="/user_withdraw_record">提现记录</a></li>
                        </ul>
                        <div class="pass-main">
                            <div class="pass-cont">
                                <table>
                                    <thead>
                                    <tr>
                                        <td>充值类型</td>
                                        <td>充值金额（元）</td>

                                        <td>操作时间</td>
                                        <td>充值状态</td>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    @foreach($recharge as $k=>$v)
                                        <tr>
                                            <td>@if($v->type==2)
                                                    网页充值
                                                @endif
                                             @if($v->type==1)
                                                   快捷充值
                                            @endif</td>
                                            <td>{{$v->rechar_money}}</td>

                                            <td>{{date('Y-m-d',$v->oper_time)}}</td>
                                            <td>@if($v->status==1)
                                                    充值成功
                                                @endif</td>
                                        </tr>
                                    @endforeach
                                    {{$recharge->links()}}
                                    </tbody>
                                </table>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


<!-- footer -->
@include('common.index_foot')
<script src="./resource/js/jquery-1.11.3.min.js"></script>
<script src="./resource/js/index.js"></script>
<script src="./resource/js/user.js"></script>
</body>
</html>